package org.dromara.common.websocket.event;

import lombok.Getter;
import org.dromara.common.websocket.domain.BoardWebSocketMessage;
import org.springframework.context.ApplicationEvent;

@Getter
public class BoardWebSocketMessageEvent extends ApplicationEvent {
    private final BoardWebSocketMessage boardWebSocketMessage;

    public BoardWebSocketMessageEvent(BoardWebSocketMessage boardWebSocketMessage, Object source) {
        super(source);
        this.boardWebSocketMessage = boardWebSocketMessage;
    }
}
